package com.xyh.flowershop.vo.resp.goods;

import com.xyh.flowershop.domain.Type;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 小约翰可汗
 * @className GoodsRespVo
 * @createTime 2024/4/510:29
 */
@Data
public class GoodsRespVo {

    @Schema(description = "商品编号")
    private String id;

    @Schema(description = "商品名称")
    private String goodName;

    @Schema(description = "图片资源路径")
    private String goodImgUrl;

    @Schema(description = "是否热门")
    private Boolean isHot;

    @Schema(description = "类别")
    private List<GoodType> typeNames;

    @Schema(description = "原价")
    private BigDecimal goodPrice;

    @Schema(description = "折扣价")
    private BigDecimal goodPriceDis;

    @Schema(description = "商品信息")
    private  String goodInfo;

    @Schema(description = "商品库存")
    private Integer totalNum;

}
